
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { OrganizationWuEntity } from './entities/organizationwuentity';

import { OrganizationWuProxy } from './organizationwuproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/apporder/df/v1.0/organizationformwu_frm',
    entityType: OrganizationWuEntity
})
export class OrganizationWuRepository extends BefRepository<OrganizationWuEntity> {
    public name = 'OrganizationWuRepository';

    public proxy: OrganizationWuProxy;
    public paginationInfo = {
        OrganizationWuEntity: {
            pageSize: 20,
        },
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(OrganizationWuProxy, null);
    }
}